<template name="new_role">

	<div class="modal fade" id="new-modal">
      <div class="modal-dialog">
        <form class="new-role-add" role="form">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
              <h4 class="modal-title">添加新的角色名</h4>
            </div>
            <div class="modal-body">
              <div class="form-group">
                <label for="role_name">角色名</label>
                <input type="text" class="form-control" id="role_name" placeholder="输入角色名">
              </div>
  						<div class="form-group">
  							<label for="role_name">权重(越小权限越大)</label>
  							<input type="number" class="form-control" id="role_weight" placeholder="输入权重">
  						</div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
              <button type="submit" class="btn btn-primary">添加</button>
            </div>
          </div>
         </form>
      </div>
      </div>
	
</template>